Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Meditor.vue to <script setup> #1303

Merged
merged 2 commits into from
Nov 29, 2022
Merged

Conversation

mvandenburgh
Copy link
Member

No description provided.

These were detected after converting to <script setup>
Base automatically changed from disable-meditor-save-no-changes to master October 3, 2022 18:06
@mvandenburgh mvandenburgh marked this pull request as ready for review October 3, 2022 18:06
@@ -57,18 +58,18 @@
<template #activator="{ on }">
<v-icon
left
:color="allModelsValid ? 'success' : 'error'"
:color="modelValid ? 'success' : 'error'"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, this was aliased as allModelsValid in the returned object of the original setup() function. Instead of replicating that behavior in the new <script> section, I think it's clearer to just use the modelValid variable directly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvandenburgh mvandenburgh added the internal Changes only affect the internal API label Nov 29, 2022
@mvandenburgh mvandenburgh merged commit 5345ec5 into master Nov 29, 2022
@mvandenburgh mvandenburgh deleted the meditor-script-setup branch November 29, 2022 19:57
@dandibot
Copy link
Member

🚀 PR was released in v0.3.4 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes only affect the internal API released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants